//
// Created by 21577 on 2025/3/2.
//
#include <stdio.h>

int main() {
    char c;
    while((c = getchar()) != EOF){
        if ((c < 'w' && c >= 'a') || (c < 'W' && c >= 'A'))
            printf("%c", c + 4);
        else
            printf("%c", c - 22);
    }
    return 0;
}